package com.gamecauca;

public class ItemDetails {

	private int id;
	private int price;
	private String name;
	private String info;
	private int quantity;
	private float x;
	private float y;
	private int order;// thứ tụ của vị trí trong thùng đồ từ 0-->8/ tương tứng với 9 ô trong thùng đồ
	private int index;
	private String kind;
	
	
	public ItemDetails(){
		
	}
	
	public ItemDetails(int id, int price, String name, String info, int quantity, String kind, int index, float x, float y)
	{
		this.setId(id);
		this.setPrice(price);
		this.name = name;
		this.setInfo(info);
		this.setQuantity(quantity);
		this.kind = kind;
		this.index = index;
		this.setX(x);
		this.setY(y);
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getId() {
		return id;
	}

	public void setPrice(int price) {
		this.price = price;
	}

	public int getPrice() {
		return price;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public String getInfo() {
		return info;
	}

	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}

	public int getQuantity() {
		return quantity;
	}

	public void setX(float x) {
		this.x = x;
	}

	public float getX() {
		return x;
	}

	public void setY(float y) {
		this.y = y;
	}

	public float getY() {
		return y;
	}
	public void setOrder(int order) {
		this.order = order;
	}

	public int getOrder() {
		return this.order;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public int getIndex() {
		return index;
	}

	public void setKind(String kind) {
		this.kind = kind;
	}

	public String getKind() {
		return kind;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	
	
}
